<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
		<groupId>{{groupId}}</groupId>
		<artifactId>{{artifactId}}</artifactId>
		<version>{{artifactVersion}}</version>
	</parent>
	<name>{{modelModuleArtifactId}}</name>
    <artifactId>{{modelModuleArtifactId}}</artifactId>
    <packaging>jar</packaging>
    
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
    
    <build>
        <plugins>
            <plugin>
				<groupId>io.swagger</groupId>
				<artifactId>swagger-codegen-maven-plugin</artifactId>
				<configuration>
					<output>./</output>
					<!-- ignore sub module generate -->
					<skipGenerate>true</skipGenerate>
					<inputSpec>swagger.yaml</inputSpec>
					<language>spring-mvc-wecloud</language>
					<library>spring-mvc</library>
				</configuration>
			</plugin>
        </plugins>
    </build>
    
    <dependencies>
    	<!-- commons -->
		<dependency>
			<groupId>com.wisedu.wecloud</groupId>
			<artifactId>wecloud-commons</artifactId>
		</dependency>
    
        <dependency>
			<groupId>io.swagger</groupId>
	        <artifactId>swagger-annotations</artifactId>
		</dependency>

        {{#java8}}
        <dependency>
            <groupId>com.fasterxml.jackson.datatype</groupId>
            <artifactId>jackson-datatype-jsr310</artifactId>
        </dependency>
        {{/java8}}
        {{^java8}}
        <dependency>
            <groupId>com.fasterxml.jackson.datatype</groupId>
            <artifactId>jackson-datatype-joda</artifactId>
        </dependency>
        
        <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
        </dependency>
        {{/java8}}
        
        <dependency>
		    <groupId>com.alibaba</groupId>
		    <artifactId>fastjson</artifactId>
		    <version>1.2.16</version>
		</dependency>
        
        <dependency>
		    <groupId>org.hibernate</groupId>
		    <artifactId>hibernate-validator</artifactId>
		</dependency>
		
    </dependencies>
    
</project>
